package com.jiankang.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class User {
	private int id;
	private String regphone;
	private String password;
	private String reguser;
	private String imgage;
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")  
	private Date time;
	private String age;
	private String sex;
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getRegphone() {
		return regphone;
	}
	public void setRegphone(String regphone) {
		this.regphone = regphone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getReguser() {
		return reguser;
	}
	public void setReguser(String reguser) {
		this.reguser = reguser;
	}
	public String getImgage() {
		return imgage;
	}
	public void setImgage(String imgage) {
		this.imgage = imgage;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	
}
